﻿<%@ Page Language="C#" MasterPageFile="~/Common/MasterPage.master" AutoEventWireup="true" CodeFile="GuestBookAdd.aspx.cs" Inherits="News_GuestBookAdd" Title="浙江农林大学教学建设项目管理系统" validateRequest="false"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="left">
<script type="text/javascript" src="../js/vanadium.js"></script>
<script type="text/javascript" src="../js/validationfun.js"></script>
      <div class="box_1">
        <div class="left_title">本站公告</div>
        <div class="left_nr">
        目前暂无公告.
        </div>
      </div>
      <div class="box_1" style="margin:0px;">
        <div class="left_title">跳转到其他页面</div>
        <div class="left_nr">
           <ul>
            <li><a href="http://www.zafu.edu.cn">浙江农林大学主页</a></li>
           <li><a href="http://jwc.zafu.edu.cn">浙江农林大学教务处</a></li> 
          </ul>
        </div>
      </div>
    </div>
    <div class="right">
      <div class="right_title"><img alt="a" src="../Images/zaixianliuyan.gif" />
        <div>当前位置：<a href="../Index.aspx">首页</a> > <a href="GuestBook.aspx">在线留言</a> > <span>新留言</span></div>
      </div>
     <div style="margin:20px 0px;">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 370px">
            <tr>
                <td align="center" colspan="2" style="height: 35px">
                    除留言内容以外均可留空，姓名栏留空则以匿名方式显示IP，其他则显示保密。管理员审核通过后方可显示。</td>
            </tr>
             <tr>
                 <td align="right" style="width: 103px">
                     <span style="font-size: 10pt">姓名或昵称：</span></td>
                 <td style="height: 35px">
                     <asp:TextBox ID="txtUserName" runat="server" style="background:url(../images/bg_4.gif) no-repeat; width:121px; height:23px; line-height:23px; border:0px;"></asp:TextBox></td>
             </tr>
             <tr>
                 <td align="right" style="width: 103px">
                     <span style="font-size: 10pt">E-mail：</span></td>
                 <td style="height: 35px">
                     <asp:TextBox ID="txtEmail" runat="server" CssClass=":email " style="background:url(../images/bg_4.gif) no-repeat; width:121px; height:23px; line-height:23px; border:0px;"></asp:TextBox></td>
             </tr>
             <tr>
                 <td align="right" style="width: 103px">
                     <span style="font-size: 10pt">QQ：</span></td>
                 <td style="height: 35px">
                     <asp:TextBox ID="txtQq" runat="server" CssClass=":max_length;15" style="background:url(../images/bg_4.gif) no-repeat; width:121px; height:23px; line-height:23px; border:0px;"></asp:TextBox></td>
             </tr>
             <tr>
                 <td align="right" style="width: 103px">
                     <span style="font-size: 10pt">头像：</span></td>
                 <td valign="middle" style="height: 100px">
                     <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                     <ContentTemplate>
                     <asp:DropDownList ID="ddlPic" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPic_SelectedIndexChanged">
                         <asp:ListItem Value="pic1.gif">pic1</asp:ListItem>
                         <asp:ListItem Value="pic2.gif">pic2</asp:ListItem>
                         <asp:ListItem Value="pic3.gif">pic3</asp:ListItem>
                         <asp:ListItem Value="pic4.gif">pic4</asp:ListItem>
                         <asp:ListItem Value="pic5.gif">pic5</asp:ListItem>
                         <asp:ListItem Value="pic6.gif">pic6</asp:ListItem>
                         <asp:ListItem Value="pic7.gif">pic7</asp:ListItem>
                         <asp:ListItem Value="pic8.gif">pic8</asp:ListItem>
                         <asp:ListItem Value="pic9.gif">pic9</asp:ListItem>
                         <asp:ListItem Value="pic10.gif">pic10</asp:ListItem>
                     </asp:DropDownList>
                     <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/face/pic1.gif" />
                 </ContentTemplate>
                     </asp:UpdatePanel>
                 </td>
             </tr>
             <tr>
                 <td align="right" style="width: 103px">
                     留言内容：</td>
                 <td valign="middle" style="height: 230px">
                     <asp:TextBox ID="txtContent" runat="server" CssClass="xheditor {tools:'Bold,Italic,Underline,Strikethrough,Removeformat,Align,List,Link,Img,Emot'}"
                         Height="200px" TextMode="MultiLine" Width="450px"></asp:TextBox></td>
             </tr>
             <tr>
                 <td align="center" colspan="2" style="height: 20px">
                     <asp:Label ID="lblWorning" runat="server" ForeColor="Red"></asp:Label></td>
             </tr>
             <tr>
                 <td align="center" colspan="2">
                     <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" 
                         Text="提交" Width="51px" />
                 </td>
             </tr>
         </table>
    </div>       
    </div>
    <div class="clear"></div>
</asp:Content>

